package com.example.zn.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

@Schema(description = "歌曲详情信息，包含歌曲，歌手，专辑数据")
@Data
//数据传输对象
public class ProductDetails {
    @Schema(description = "商品id")
    private Integer proid;
    @Schema(description = "商品名字")
    private String name;
    @Schema(description = "商品地址")
    private String img;
    @Schema(description = "商品数量")
    private Integer procount;
    @Schema(description = "商品价格")
    private BigDecimal price;
    @Schema(description = "上架时间")
    private LocalDate shelfTime;
    @Schema(description = "分类Id")
    private Integer categoryId;
    @Schema(description = "分类名")
    private String categoryName;

}
